package com.liu.entity;

import cn.hutool.core.annotation.Alias;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.awt.*;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Physician {
    @TableId(type = IdType.AUTO)
    @Alias("ID")
    private Integer id;
    @Alias("用户名")
    private String username;
    @Alias("昵称")
    private String nickname;
    @Alias("密码")
    private String password;
    @Alias("头像")
    private String photo;
    @Alias("性别")
    private String sex;
    @Alias("身份")
    private String identity;
    @Alias("擅长")
    private String specialty;
    @Alias("简介")
    private String outline;
    @Alias("医院编号")
    private Integer hoId;
    private Hospital hospital;
    @Alias("科室编号")
    private Integer deId;
    private Department department;
    @Alias("问诊量")
    private Integer num;
    @Alias("评分")
    private Double score;

    private List<Stage> stageList;

    private String token;
}
